<div class="layout_content graybg">
    <header class="demo-header" style="padding-top: 10px;">
        <div class="titleLeft flt">
            <a href="/ucenter/welcome/index.html">
                <img src="../public/img/back.png" width="35px" height="33px">
            </a>
        </div>
        <div class="titleRight flt text-center">退货单</div>
    </header>
    <div class="return-sousuo"><input type="text" placeholder="搜索"/></div>
        <?php foreach ($Data['lists'] as $val){ ?>
            <div class="whitebg detail" refund_id="<?php echo $val['id'] ?>">
                <div class="sizecolor flt">
                    退单号：<?php echo $val['ordercode']?>
                </div>
                <div class="frt zonge" style="">
                    <?php echo $val['pay_refund_status']?>
                </div>
                <div class="clear_both"></div>
                <div class="message-detail">
                    <p>商品数量：<?php echo $val['refund_sku_amout']?></p>
                    <p>退单时间：<?php echo $val['insert_time']?></p>
                    <p>订单金额：￥<?php echo $val['refund_sku_price']?></p>
                </div>
            </div>
        <?php } ?>
</div>
<script>
    $('body').on('click','.detail',function () {
        var refund_id = parseInt($(this).attr('refund_id'));
        window.location.href ='/refundorderlist/detail?refund_id='+refund_id;
    });

</script>